package com.axialproject.health.exchange.democommunity;

import com.axialproject.health.exchange.democommunity.entity.CommunityRecord;
import java.util.Date;

public class CommunityRecordBean {

    private String patientName;
    private String patientAddress;
    private String patientDob;
    private String patientGender;
    private String patientRace;
    private String testName;
    private String testResult;
    private String testResultUnit;
    private String testResultNormalRange;
    private String testNote;
    private Date testDate;

    public CommunityRecordBean (CommunityRecord cr) {
        this.patientName = cr.getPatientName();
        this.patientAddress = cr.getPatientAddress();
        this.patientDob = cr.getPatientDob();
        this.patientGender = cr.getPatientGender();
        this.patientRace = cr.getPatientRace();

        this.testDate = cr.getTestDate();
        this.testName = cr.getTestName();
        this.testResult = cr.getTestResult();
        this.testResultUnit = cr.getTestResultUnit();
        this.testResultNormalRange = cr.getTestResultNormalRange();
        this.testNote = cr.getTestNote();
    }


    public String getPatientName() {
        return patientName;
    }
    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getPatientAddress() {
        return patientAddress;
    }
    public void setPatientAddress(String patientAddress) {
        this.patientAddress = patientAddress;
    }

    public String getPatientDob() {
        return patientDob;
    }
    public void setPatientDob(String patientDob) {
        this.patientDob = patientDob;
    }

    public String getTestName() {
        return testName;
    }
    public void setTestName(String testName) {
        this.testName = testName;
    }

    public String getTestResult() {
        return testResult;
    }
    public void setTestResult(String testResult) {
        this.testResult = testResult;
    }

    public Date getTestDate() {
        return testDate;
    }
    public void setTestDate(Date testDate) {
        this.testDate = testDate;
    }

    public String getPatientGender() {
        return patientGender;
    }
    public void setPatientGender(String patientGender) {
        this.patientGender = patientGender;
    }

    public String getPatientRace() {
        return patientRace;
    }
    public void setPatientRace(String patientRace) {
        this.patientRace = patientRace;
    }

    public String getTestResultUnit() {
        return testResultUnit;
    }
    public void setTestResultUnit(String testResultUnit) {
        this.testResultUnit = testResultUnit;
    }

    public String getTestResultNormalRange() {
        return testResultNormalRange;
    }
    public void setTestResultNormalRange(String testResultNormalRange) {
        this.testResultNormalRange = testResultNormalRange;
    }

    public String getTestNote() {
        return testNote;
    }
    public void setTestNote (String testNote) {
        this.testNote = testNote;
    }

}
